﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Model
{
    public class SearchInfo
    {
        private string DateFrom_ = null;
        private string DateTo_ = null;
        private string TargetDrugsotre_ = null;
        private string Keywords_ = null;
        private string Flag_ = null;
        private string Extend1_ = null;
        private string Extend2_ = null;

        #region 公共属性

        /// <summary>
        /// 起始日期
        /// </summary>
        public string DateFrom
        {
            get
            {
                return DateFrom_;
            }
            set
            {
                DateFrom_ = value;
            }
        }

        /// <summary>
        /// 结束日期
        /// </summary>
        public string DateTo
        {
            get
            {
                return DateTo_;
            }
            set
            {
                DateTo_ = value;
            }
        }

        /// <summary>
        /// 目标药店
        /// </summary>
        public string TargetDrugsotre
        {
            get
            {
                return TargetDrugsotre_;
            }
            set
            {
                TargetDrugsotre_ = value;
            }

        }

        /// <summary>
        /// 关键字
        /// </summary>
        public string Keywords
        {
            get
            {
                return Keywords_;
            }
            set
            {
                Keywords_ = value;
            }
        }

        /// <summary>
        /// 标记，用户标记类型
        /// </summary>
        public string Flag
        {
            get
            {
                return Flag_;
            }
            set
            {
                Flag_ = value;
            }
        }

        /// <summary>
        /// 扩展属性1
        /// </summary>
        public string Extend1
        {
            get
            {
                return Extend1_;
            }
            set
            {
                Extend1_ = value;
            }
        }

        /// <summary>
        /// 扩展属性2
        /// </summary>
        public string Extend2
        {
            get
            {
                return Extend2_;
            }
            set
            {
                Extend2_ = value;
            }
        }

        #endregion

        public SearchInfo()
        {

        }

        public SearchInfo(string dateFrom, string dateTo, string targetDrugsotre, string keywords,string flag,string extend1,string extend2)
        {
            this.DateFrom_ = dateFrom;
            this.DateTo = dateTo;
            this.TargetDrugsotre_ = targetDrugsotre;
            this.Keywords_ = keywords;
            this.Flag_ = flag;
            this.Extend1_ = extend1;
            this.Extend2_ = extend2;
        }
    }
}
